package com.example.demo.设计模式.适配器模式.对象适配器;

/**
 * @description:
 * @projectName:demo
 * @see:设计模式.适配器模式.对象适配器
 * @author:袁成龙
 * @createTime:2020/10/13 9:52
 * @version:1.0
 */
public class Test01 {

    public static void main(String[] args) {
        TestImpl tes = new TestImpl();

        TestShiPeiDuiXiang testLei = new TestShiPeiDuiXiang();

        TestLei lei = new TestLei(testLei,tes);

        TestService testService = new TestService();

        testService.ceshi(lei);


    }
}